package cn.itcast.domain;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

public class Account  implements Serializable {

    private String username;
    private String userage;

    private User user;

//    增加对象集合
    private List<User> userList;
    private Map<String,User> userMapper;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserage() {
        return userage;
    }

    public void setUserage(String userage) {
        this.userage = userage;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public List<User> getUserList() {
        return userList;
    }

    public void setUserList(List<User> userList) {
        this.userList = userList;
    }

    public Map<String, User> getUserMapper() {
        return userMapper;
    }

    public void setUserMapper(Map<String, User> userMapper) {
        this.userMapper = userMapper;
    }

    @Override
    public String toString() {
        return "Account{" +
                "username='" + username + '\'' +
                ", userage='" + userage + '\'' +
                ", user=" + user +
                ", userList=" + userList +
                ", userMapper=" + userMapper +
                '}';
    }
}
